

#include "main.h"


const u16 MC_NTC_Table[166] =
{
	31654,
	31594,
	31530,
	31464,
	31394,
	31322,
	31247,
	31168,
	31086,
	31000,
	30911,
	30819,
	30722,
	30622,
	30518,
	30410,
	30298,
	30181,
	30060,
	29935,
	29806,
	29672,
	29533,
	29390,
	29242,
	29090,
	28933,
	28771,
	28604,
	28432,
	28256,
	28075,
	27889,
	27699,
	27504,
	27304,
	27099,
	26890,
	26676,
	26458,
	26235,
	26007,
	25776,
	25540,
	25299,
	25055,
	24807,
	24554,
	24298,
	24038,
	23775,
	23508,
	23238,
	22965,
	22688,
	22409,
	22127,
	21843,
	21557,
	21268,
	20978,
	20686,
	20392,
	20097,
	19801,
	19505,
	19208,
	18910,
	18612,
	18315,
	18018,
	17721,
	17425,
	17130,
	16836,
	16543,
	16252,
	15963,
	15675,
	15390,
	15106,
	14825,
	14547,
	14271,
	13998,
	13728,
	13461,
	13197,
	12936,
	12678,
	12423,
	12172,
	11925,
	11681,
	11440,
	11203,
	10970,
	10740,
	10514,
	10292,
	10073,
	9858,
	9647,
	9440,
	9236,
	9035,
	8839,
	8646,
	8457,
	8271,
	8089,
	7910,
	7735,
	7564,
	7396,
	7231,
	7070,
	6912,
	6757,
	6606,
	6458,
	6313,
	6171,
	6032,
	5896,
	5764,
	5634,
	5507,
	5383,
	5262,
	5143,
	5028,
	4915,
	4804,
	4697,
	4591,
	4489,
	4388,
	4290,
	4195,
	4101,
	4010,
	3921,
	3835,
	3750,
	3667,
	3587,
	3508,
	3432,
	3357,
	3284,
	3213,
	3144,
	3076,
	3010,
	2945,
	2883,
	2821,
	2762,
	2703,
	2647,
	2591,
	2537,
	2484,
	2433,
	2382
};


const u16 AD_VB_Table[52]=
{
		12957,  //20
		22651,  //35
		22953,
		23260,
		23579,
		23892,
		24194,
		24507,
		24809,
		25105,
		25418,
		25714,
		26004,
		26300,
		26585,
		26858,
		27126,
		27399,
		27666,
		27917,
		28150,
		28395,
		28623,
		28845,
		29061,
		29260,
		29460,
		29642,
		29813,
		29978,
		30137,
		30285,
		30427,
		30558,
		30683,
		30797,
		30911,
		31008,
		31110,
		31196,
		31281,
		31367,
		31441,
		31515,
		31577,
		31646,
		31708,
		31759,
		31811,
		31862,
		31907,
		31953,  //60
};

/*************************
const u16 MC_NTC_Table[166] =
{
		18894,
		18477,
		18061,
		17646,
		17234,
		16825,
		16419,
		16017,
		15620,
		15229,
		14842,
		14461,
		14087,
		13719,
		13358,
		13003,
		12656,
		12316,
		11984,
		11660,
		11344,
		11035,
		10735,
		10443,
		10159,
		9883,
		9615,
		9355,
		9104,
		8860,
		8625,
		8397,
		8176,
		7963,
		7757,
		7559,
		7367,
		7182,
		7003,
		6831,
		6666,
		6506,
		6351,
		6203,
		6060,
		5922,
		5789,
		5661,
		5538,
		5419,
		5305,
		5195,
		5089,
		4987,
		4889,
		4795,
		4704,
		4616,
		4532,
		4451,
		4373,
		4297,
		4225,
		4155,
		4088,
		4024,
		3962,
		3902,
		3845,
		3790,
		3736,
		3685,
		3636,
		3589,
		3543,
		3499,
		3457,
		3416,
		3377,
		3339,
		3303,
		3268,
		3235,
		3202,
		3171,
		3141,
		3112,
		3084,
		3057,
		3031,
		3006,
		2982,
		2959,
		2937,
		2915,
		2894,
		2874,
		2855,
		2836,
		2818,
		2801,
		2784,
		2767,
		2752,
		2737,
		2722,
		2708,
		2694,
		2681,
		2668,
		2656,
		2644,
		2632,
		2621,
		2610,
		2600,
		2589,
		2580,
		2570,
		2561,
		2552,
		2543,
		2535,
		2527,
		2519,
		2511,
		2504,
		2497,
		2490,
		2483,
		2477,
		2471,
		2465,
		2459,
		2453,
		2447,
		2442,
		2437,
		2432,
		2427,
		2422,
		2417,
		2413,
		2409,
		2404,
		2400,
		2396,
		2393,
		2389,
		2385,
		2382,
		2378,
		2375,
		2372,
		2369,
		2366,
		2363,
		2360,
		2357,
		2354,
		2352,
		2349,
		2347,
		2344,
		2342,
		2339,
};
*************************/



const s8 NTC_TEMP_Table[166] =
{
-40,
-39,
-38,
-37,
-36,
-35,
-34,
-33,
-32,
-31,
-30,
-29,
-28,
-27,
-26,
-25,
-24,
-23,
-22,
-21,
-20,
-19,
-18,
-17,
-16,
-15,
-14,
-13,
-12,
-11,
-10,
-9,
-8,
-7,
-6,
-5,
-4,
-3,
-2,
-1,
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
};


const u16 G_u16_Blan_Adc[34]=
{
		33000,/*32581,*/
		32506,
		32406,
		32275,
		32104,
		31883,
		31604,
		31253,
		30819,
		30290,
		29653,
		28900,
		28023,
		27018,
		25889,
		24643,
		23294,
		21862,
		20371,
		18847,
		17317,
		15814,
		14357,
		12961,
		11652,
		10437,
		9315,
		8292,
		7370,
		6541,
		5798,
		5139,
		4556,
		3500/*4039,*/
};


const s8 G_s8_Blan_Ntc[34]=
{
-40,
-35,
-30,
-25,
-20,
-15,
-10,
-5,
0,
5,
10,
15,
20,
25,
30,
35,
40,
45,
50,
55,
60,
65,
70,
75,
80,
85,
90,
95,
100,
105,
110,
115,
120,
125,
};






















